﻿Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSearchSchema

    Public Class character

        Private strBattleGroup As String
        Private intBattleGroupID As Integer
        Private strClass As String
        Private intClassID As Integer
        Private strFaction As String
        Private intFactionID As Integer
        Private strGender As String
        Private intGenderID As Integer
        Private strGuild As String
        Private intGuildID As Integer
        Private strLastLoginDate As String
        Private intLevel As Integer
        Private strName As String
        Private strRace As String
        Private intRaceID As Integer
        Private strRealm As String
        Private intRelevance As Integer
        Private intSearchRank As Integer
        Private strURL As String

        <XmlAttribute()> Public Property battleGroup() As String
            Get
                Return strBattleGroup
            End Get
            Set(ByVal value As String)
                strBattleGroup = value
            End Set
        End Property

        <XmlAttribute()> Public Property battleGroupId() As Integer
            Get
                Return intBattleGroupID
            End Get
            Set(ByVal value As Integer)
                intBattleGroupID = value
            End Set
        End Property

        <XmlAttribute()> Public Property [class]() As String
            Get
                Return strClass
            End Get
            Set(ByVal value As String)
                strClass = value
            End Set
        End Property

        <XmlAttribute()> Public Property classId() As Integer
            Get
                Return intClassID
            End Get
            Set(ByVal value As Integer)
                intClassID = value
            End Set
        End Property

        <XmlAttribute()> Public Property faction() As String
            Get
                Return strFaction
            End Get
            Set(ByVal value As String)
                strFaction = value
            End Set
        End Property

        <XmlAttribute()> Public Property factionId() As Integer
            Get
                Return intFactionID
            End Get
            Set(ByVal value As Integer)
                intFactionID = value
            End Set
        End Property

        <XmlAttribute()> Public Property gender() As String
            Get
                Return strGender
            End Get
            Set(ByVal value As String)
                strGender = value
            End Set
        End Property

        <XmlAttribute()> Public Property genderId() As Integer
            Get
                Return intGenderID
            End Get
            Set(ByVal value As Integer)
                intGenderID = value
            End Set
        End Property

        <XmlAttribute()> Public Property guild() As String
            Get
                Return strGuild
            End Get
            Set(ByVal value As String)
                strGuild = value
            End Set
        End Property

        <XmlAttribute()> Public Property guildId() As Integer
            Get
                Return intGuildID
            End Get
            Set(ByVal value As Integer)
                intGuildID = value
            End Set
        End Property

        <XmlAttribute()> Public Property lastLoginDate() As String
            Get
                Return strLastLoginDate
            End Get
            Set(ByVal value As String)
                strLastLoginDate = value
            End Set
        End Property

        <XmlAttribute()> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property race() As String
            Get
                Return strRace
            End Get
            Set(ByVal value As String)
                strRace = value
            End Set
        End Property

        <XmlAttribute()> Public Property raceId() As Integer
            Get
                Return intRaceID
            End Get
            Set(ByVal value As Integer)
                intRaceID = value
            End Set
        End Property

        <XmlAttribute()> Public Property realm() As String
            Get
                Return strRealm
            End Get
            Set(ByVal value As String)
                strRealm = value
            End Set
        End Property

        <XmlAttribute()> Public Property relevance() As Integer
            Get
                Return intRelevance
            End Get
            Set(ByVal value As Integer)
                intRelevance = value
            End Set
        End Property

        <XmlAttribute()> Public Property searchRank() As Integer
            Get
                Return intSearchRank
            End Get
            Set(ByVal value As Integer)
                intSearchRank = value
            End Set
        End Property

        <XmlAttribute()> Public Property url() As String
            Get
                Return strURL
            End Get
            Set(ByVal value As String)
                strURL = value
            End Set
        End Property

    End Class

End Namespace